package com.xhwl.centiotdata.service.cent;

import com.xhwl.common.dto.cent.pedes.BseduVistorsDataDTO;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;

/**
 * wangyiling @Copyright (C), 2022, 兴海物联
 * Date: 2022/8/12 9:00
 * Description: 接收金茂校园第三方记录
 */
@FeignClient(value = "cent-visitor")
public interface IInfoService {
    /**
     * 保存访客记录（用于接收金茂校园）
     * @param bseduVistorsDataDTOList
     * @return
     */
    @RequestLine("POST /visitor-info-service/save")
    void openSaveBatch(@Param("bseduVistorsDataDTOList") List<BseduVistorsDataDTO> bseduVistorsDataDTOList);
}
